
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 Machinedeploytemplate 分页列表
*/
export function getMachinedeploytemplatePagination(data: any) {
  return axios.get(`${context}/machinedeploytemplate/pagination`, { params: data });
}


/**
 * 获取 Machinedeploytemplate 所有数据
*/
export function getMachinedeploytemplateAllList(data: any) {
  return axios.get(`${context}/machinedeploytemplate/all`, { params: data });
}


/**
 * 获取 Machinedeploytemplate 详情
*/
export function getMachinedeploytemplateDetailById(id: any) {
  return axios.get(`${context}/machinedeploytemplate/${id}`, { params:{id} });
}


/**
 * 新增 Machinedeploytemplate
*/
export function addMachinedeploytemplate(data: any) {
  return axios.post(`${context}/machinedeploytemplate`, data);
}

/**
 * 修改 Machinedeploytemplate
*/
export function updateMachinedeploytemplate(data: any) {
  return axios.put(`${context}/machinedeploytemplate`, data);
}

/**
 * 删除 Machinedeploytemplate
*/
export function batchRemoveMachinedeploytemplate(data: any) {
  return axios.post(`${context}/machinedeploytemplate/batchRemove`, data);
}

    